package com.tiantiancai;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.service.BookService;
import com.example.timer.my.ExampleModel;
@Service
public class Ttest {
	@Autowired
	private BookService bs;
	@Resource(name="examplemoade")
	private ExampleModel em;
	@PostConstruct
	public void init(){
		em.ss();
		System.out.println("===================="+bs.toString());
	}

}
